<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>{site_name} - {site_intro}</title>
    <link href="../static/style.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div id="wrapper">
    <div id="wrapper2">
        <div id="header" class="container">
            <div id="logo">
                <h1><a href="#">{site_name}</a></h1>
                <p>{site_intro}</p>
            </div>
            <div id="menu">
                <ul>
                    <li class="current_page_item"><a href="?">演示页面</a></li>
                </ul>
            </div>
        </div>
        <!-- end #header -->
        <div id="page">
            <div id="content">
                <div class="post">
                    <h2 class="title"><a href="#">{blog.title}</a></h2>
                    <p class="meta"><span class="date">{blog.info.addtime}</span><span class="posted">作者 <a href="{blog.info.weibo}" target="_blank">{blog.info.author}</a></span></p>
                    <div style="clear: both;">&nbsp;</div>
                    <div class="entry">
                        <p>{blog.content}</p>
                    </div>
                </div>

                <div class="post">
                    <h2 class="title"><a href="#">测试if</a></h2>
                    <div style="clear: both;">&nbsp;</div>
                    <div class="entry">
                        <p>
                            <!--{.if boo1}-->
                                今天是2013年10月1日，伟大祖国的生日，距离2014年剩余92天！
                            <!--{.end}-->
                        </p>
                        <hr>
                        <p>
                            Q:作者是地球人?<br>
                            A:
                            <!--{.boo2?}-->
                                你才是地球人！你全家都是地球人！
                            <!--{:}-->
                                怎么会是那种战斗力只有5的渣渣呢~
                            <!--{.end}-->

                        </p>
                    </div>
                </div>

                <div class="post">
                    <h2 class="title"><a href="#">测试一下在模板插入图片</a></h2>
                    <div style="clear: both;">&nbsp;</div>
                    <div class="entry">
                        <p><img src="../www/static/temp/image_test.jpg" alt="" width="220" height="330" /></p>
                    </div>
                </div>

                <div style="clear: both;">&nbsp;</div>
            </div>
            <!-- end #content -->
            <div id="sidebar">
                <ul>
                    <li>
                        <h2>关于循环</h2>
                        <ul>
                            <!--{.foreach links}-->
                            <li><a href="{v}" target="_blank">{k}</a></li>
                            <!--{.or}-->
                            2222222222222
                            <!--{.end}-->

                        </ul>
                    </li>
                </ul>
            </div>
            <!-- end #sidebar -->
            <div style="clear: both;">&nbsp;</div>
        </div>
        <!-- end #page -->
    </div>
</div>

<!-- end #footer -->
<script type="text/javascript" src="../www/static/test.js"></script>
</body>
</html>
